[XENTOP] Adds batch mode processing option (output to stdout)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 28 Jun 2006 09:22:13 +0000 (10:22 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 28 Jun 2006 09:22:13 +0000 (10:22 +0100)
commitd3ecb7e352c7e598adbf15d21c64cd60bbd322ed
tree1dd905e41a17f75f240989b4b0fbcedee13b3cd5
parent940d86e2e12844e63d2edf70685cd4197cccc841
[XENTOP] Adds batch mode processing option (output to stdout)
to the xentop utility. It also adds the ability to specify the
number of iterations xentop should produce before exiting.

a) xentop -b

will output to stdout.

b) xentop -i <number>

will iterate <number> times and exit (option "n" is already used by
xentop. Hence the choice of "i"). This option can be used for both the
curses and batch modes.

From: Hariprasad Nellitheertha <mlisthari@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/xenstat/xentop/xentop.1
tools/xenstat/xentop/xentop.c